package sandau.self_improvement_wall001.vo;

// <T> 为泛型，先不定义类型，灵活性比较大
public class BasicMsgWithData<T> extends BasicMsg {
    public BasicMsgWithData(){

    }
    public BasicMsgWithData(T data){
        this.data = data;
    }
    public  T getData(){
        return this.data;
    }
    public void setData(T data){
        this.data = data;
    }
    private T data;
}
